﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020013C9 RID: 5065
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class TrainPartyAddBuildDynamicBuffCsReq : IMessage<TrainPartyAddBuildDynamicBuffCsReq>, IMessage, IEquatable<TrainPartyAddBuildDynamicBuffCsReq>, IDeepCloneable<TrainPartyAddBuildDynamicBuffCsReq>, IBufferMessage
	{
		// Token: 0x17003FDB RID: 16347
		// (get) Token: 0x0600E2CF RID: 58063 RVA: 0x0025E63F File Offset: 0x0025C83F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<TrainPartyAddBuildDynamicBuffCsReq> Parser
		{
			get
			{
				return TrainPartyAddBuildDynamicBuffCsReq._parser;
			}
		}

		// Token: 0x17003FDC RID: 16348
		// (get) Token: 0x0600E2D0 RID: 58064 RVA: 0x0025E646 File Offset: 0x0025C846
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return TrainPartyAddBuildDynamicBuffCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003FDD RID: 16349
		// (get) Token: 0x0600E2D1 RID: 58065 RVA: 0x0025E658 File Offset: 0x0025C858
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return TrainPartyAddBuildDynamicBuffCsReq.Descriptor;
			}
		}

		// Token: 0x0600E2D2 RID: 58066 RVA: 0x0025E65F File Offset: 0x0025C85F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TrainPartyAddBuildDynamicBuffCsReq()
		{
		}

		// Token: 0x0600E2D3 RID: 58067 RVA: 0x0025E667 File Offset: 0x0025C867
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TrainPartyAddBuildDynamicBuffCsReq(TrainPartyAddBuildDynamicBuffCsReq other) : this()
		{
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600E2D4 RID: 58068 RVA: 0x0025E680 File Offset: 0x0025C880
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TrainPartyAddBuildDynamicBuffCsReq Clone()
		{
			return new TrainPartyAddBuildDynamicBuffCsReq(this);
		}

		// Token: 0x0600E2D5 RID: 58069 RVA: 0x0025E688 File Offset: 0x0025C888
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as TrainPartyAddBuildDynamicBuffCsReq);
		}

		// Token: 0x0600E2D6 RID: 58070 RVA: 0x0025E696 File Offset: 0x0025C896
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(TrainPartyAddBuildDynamicBuffCsReq other)
		{
			return other != null && (other == this || object.Equals(this._unknownFields, other._unknownFields));
		}

		// Token: 0x0600E2D7 RID: 58071 RVA: 0x0025E6B4 File Offset: 0x0025C8B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600E2D8 RID: 58072 RVA: 0x0025E6DA File Offset: 0x0025C8DA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600E2D9 RID: 58073 RVA: 0x0025E6E2 File Offset: 0x0025C8E2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600E2DA RID: 58074 RVA: 0x0025E6EB File Offset: 0x0025C8EB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600E2DB RID: 58075 RVA: 0x0025E704 File Offset: 0x0025C904
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600E2DC RID: 58076 RVA: 0x0025E72A File Offset: 0x0025C92A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(TrainPartyAddBuildDynamicBuffCsReq other)
		{
			if (other == null)
			{
				return;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600E2DD RID: 58077 RVA: 0x0025E747 File Offset: 0x0025C947
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600E2DE RID: 58078 RVA: 0x0025E750 File Offset: 0x0025C950
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			while (input.ReadTag() != 0U)
			{
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x040059BD RID: 22973
		private static readonly MessageParser<TrainPartyAddBuildDynamicBuffCsReq> _parser = new MessageParser<TrainPartyAddBuildDynamicBuffCsReq>(() => new TrainPartyAddBuildDynamicBuffCsReq());

		// Token: 0x040059BE RID: 22974
		private UnknownFieldSet _unknownFields;
	}
}
